package com.onlyyou.order.mapper;

import com.onlyyou.order.entity.Stock;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Author: 小野
 * @Date: 2020/1/17 16:01
 */
@Mapper
@Repository
public interface StockMapper {
    Stock findById(Long id);

    Stock updateStock(Long id);     //减库存
}
